<?php
/**
 * Maker: 梁康宁
 * Time: 2020-04-29 16:39:13
*/
namespace app\common\model;
use think\Model;
use think\Db;
class Rule extends Model
{
	public function ruleType(){
		return $this->hasOne('RuleType', 'id', 'rule_type_id');
	}

	public function caseItemRule(){
		return $this->hasMany('CaseItemRule', 'rule_id', 'id');
	}

}
?>